Here is how scholars reconstruct ancient Hebrew cosmology. Sheol is labeled "Underworld".
Not shown in this image is how the sun travels from west to east during the night. There was supposed to be a tunnel with an opening on both sides at the left and right (west and east) extremes of the dome where the sun would drop in and travel back to the east. That tunnel would have passed underneath "Sheol".